package com.e3.basdoc.cust.server;

import com.e3.basdoc.cust.service.CustQueryService;
import com.e3.basdoc.cust.service.CustService;
import com.e3.core.base.ServiceLocator;

public class CustServiceClient {
	
	private static CustService custService;

	private static CustQueryService custQueryService;

	public static CustService getCustService() {
		if (custService == null) {
			custService = ServiceLocator.getService(CustService.class);
		}
		return custService;
	}

	public static CustQueryService getCustQueryService() {
		if (custQueryService == null) {
			custQueryService = ServiceLocator.getService(CustQueryService.class);
		}
		return custQueryService;
	}

}
